<div ng-controller="MiniCtrl" ng-init="infoAction()">
    <ul class="sui-breadcrumb">
        <li><a href="#/mini/list">{{'小店'| translate}}</a></li>
        <li class="active">
            详情
        </li>
    </ul>
    <table class="sui-table table-vzebra" ng-show="ministore">
        <tbody>
            <tr>
                <td>锁店名称</td>
                <td>
                    {{ministore.shop_name}}
                </td>
                <td>师傅名称</td>
                <td>{{ministore.name}}</td>
               <!--  <td>店面照片</td>
                <td>
                    <a href="{{ministore.mendian_image}}" target="_blank"><img ng-src="{{ministore.mendian_image}}" width="150px"></a>
                </td> -->
            </tr>
            <tr>
                <td>照片</td>
                <td>
                    <a href="{{ministore.mendian_image}}" target="_blank"><img ng-src="{{ministore.mendian_image}}" width="100px"></a>
                    <a href="{{ministore.zhizhao_image}}" target="_blank"><img ng-src="{{ministore.zhizhao_image}}" width="100px"></a>
                    <a href="{{ministore.id_front_image}}" target="_blank"><img ng-src="{{ministore.id_front_image}}" width="100px"></a>
                    <a href="{{ministore.id_back_image}}" target="_blank"><img ng-src="{{ministore.id_back_image}}" width="100px"></a>
                    <a href="{{ministore.beian_image}}" target="_blank"><img ng-src="{{ministore.beian_image}}" width="100px"></a>
                </td>
                 <td>手机号码</td>
                <td>{{ministore.mobile}}</td>
                <!-- <td>公安备案</td>
                <td>
                    <a href="{{ministore.beian_image}}" target="_blank"><img ng-src="{{ministore.beian_image}}" width="150px"></a>
                </td> -->
            </tr>
           <!--  <tr>
                <td>身份证正面照</td>
                <td>
                    <a href="{{ministore.id_front_image}}" target="_blank">
                        <img ng-src="{{ministore.id_front_image}}" width="150px"></a>
                </td>
                <td>身份证背面照</td>
                <td>
                    <a href="{{ministore.id_back_image}}" target="_blank"><img ng-src="{{ministore.id_back_image}}" width="150px"></a>
                </td>
            </tr> -->
            <!-- <tr>
                <td>师傅名称</td>
                <td>{{ministore.name}}</td>
                <td>手机号码</td>
                <td>{{ministore.mobile}}</td>
            </tr> -->
            <tr>
                <td>座机号码-</td>
                <td>{{ministore.phone}}</td>
                <td>微信号码</td>
                <td>{{ministore.wxid}}</td>
            </tr>
            <tr>
                <td>审核状态-</td>
                <td>
                    <span ng-show="ministore.check ==1" class="sui-text-info">未审核</span>
                    <span ng-show="ministore.check ==2" class="sui-text-success">审核通过</span>
                    <span ng-show="ministore.check ==3" class="sui-text-danger">审核失败</span>
                </td>
                <td>审核原因</td>
                <td>
                    <div class="sui-form form-horizontal">
                        <textarea rows="5" ng-model="ministore.reason" class="input-xlarge"></textarea>
                    </div>
                    <button type="button" class="sui-btn btn-success" ng-click="StatusUpdate(2,ministore.mini_store_id,'check',ministore.reason)">{{'通过审核'|translate}}</button>
                    <button type="button" class="sui-btn btn-danger" ng-click="StatusUpdate(3,ministore.mini_store_id,'check',ministore.reason)">{{'拒绝'|translate}}</button>
                </td>
            </tr>
            <tr>
                <td>信用度-</td>
                <td>
                    <trust ng-model="ministore.trust" dft="1"></trust>
                    <button type="button" class="sui-btn btn-success" ng-click="uptrust(ministore.trust)">{{'修改'|translate}}</button>
                </td>
            </tr>
        </tbody>
    </table>
</div>